﻿@model ContentList
<div class="content-item-list">
	<div class="header-div">
		<h2>@Model.Title</h2>
	</div>
	<ul class="body-list">
	@foreach (var item in Model.Items)
	{
		<li class="@(item.Featured ? "featured-list-item" : null)">
			@Html.DisplayFor(m => item)
		</li>
	}
	</ul>
</div>
<script type="text/javascript">
	$(document).ready(function () {
		$('.content-item-list>.body-list>li').click(function (e) {
			e.preventDefault();
			var href = $('h4>a', this).attr('href');
			document.location = href;
		});
	});
</script>